package cn.shop.admin.entity.backLogModule;

import cn.shop.base.BaseEntity;
import cn.shop.utils.enums.OperationType;
import com.baomidou.mybatisplus.annotation.SqlCondition;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 日志表(BackLog)表实体类
 *
 * @author jzw
 * @since 2021-11-03 10:29:10
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BackLog extends BaseEntity {

	private static final long serialVersionUID = -1045231473344665353L;


	/**
	 * 操作人账户
	 */
	private String account;

	/**
	 * 详情
	 */
	private String details;

	/**
	 * 操作人姓名
	 */
	@TableField(condition = SqlCondition.LIKE)
	private String name;

	/**
	 * 操作类型
	 */
	private OperationType type;


}

